/*
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2022-09-01 17:44:12
 * @LastEditTime: 2022-09-08 13:07:00
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \yili-musicd:\Developer\WGJ\VSCode_WorkSpace\Java\MyBatis\MyBatis_demo3\src\main\java\com\atguigu\mybatis\pojo\Dept.java
 * @Description:
 */
package com.atguigu.mybatis.pojo;

import java.util.List;

public class Dept {

    private Integer did;

    private String deptName;

    private List<Emp> emps;

    public Dept() {
    }

    public Dept(Integer did, String deptName) {
        this.did = did;
        this.deptName = deptName;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public List<Emp> getEmps() {
        return emps;
    }

    public void setEmps(List<Emp> emps) {
        this.emps = emps;
    }

    @Override
    public String toString() {
        return "Dept [deptName=" + deptName + ", did=" + did + ", emps=" + emps + "]";
    }

}
